// pages/fashion/list.js
Page({
  canvasIdErrorCallback: function (e) {
    console.error(e.detail.errMsg)
  },
  //这里是传数据的
  data: {

    tit_fashion: "http://pic2.infocode.com.cn/kv2018/tit_fashion.png",

    //icoArr
    icoArr: [
      { src: "http://pic2.infocode.com.cn/kv2018/ico_f.jpg", text: "摇滚", url: "yaogun" },
      { src: "http://pic2.infocode.com.cn/kv2018/ico_f2.jpg", text: "AVANTGARDE", url: "avantgarde" },
      { src: "http://pic2.infocode.com.cn/kv2018/ico_f3.jpg", text: "美式", url: "meishi" },
      { src: "http://pic2.infocode.com.cn/kv2018/ico_f4.jpg", text: "纽约", url: "niuyue" }
    ],


  },

  //事件处理函数
  bindViewTap: function () {
    wx.navigateTo({
      url: '../logs/logs'
    })
  },

  //icoArr 链接跳转事件 - 摇滚
  yaogun: function () {
    wx.navigateTo({
      url: '../fashion/view'
    })
  },
  //icoArr 链接跳转事件 - AVANTGARDE
  avantgarde: function () {
    wx.navigateTo({
      url: '../fashion/view2'
    })
  },
  //icoArr 链接跳转事件 - 美式
  meishi: function () {
    wx.navigateTo({
      url: '../fashion/view3'
    })
  },  
  //icoArr 链接跳转事件 - 纽约
  niuyue: function () {
    wx.navigateTo({
      url: '../fashion/view4'
    })
  },


  onLoad: function (options) {

  },

})